package com.sf.eos.cx.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
//开启Eureka注册中心服务
@EnableEurekaServer
@EnableFeignClients
public class CxEurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(CxEurekaApplication.class, args);
    }

}
